package com.iwuke.dance.wallet.adapter;

import android.content.Context;
import android.view.View;
import android.widget.RelativeLayout;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.iwuke.dance.R;

import java.util.List;

import androidx.annotation.NonNull;

/**
 * @author: 魏从响
 * @date: 2025/9/17
 */
public class BankCardAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public BankCardAdapter(Context activity, int fragmentBankCard, List<String> list) {
        super(fragmentBankCard, list);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder baseViewHolder, String s) {

       RelativeLayout rlt_details = baseViewHolder.findView(R.id.rlt_details);

        rlt_details.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //查看详情

            }
        });

    }
}
